package com.qf.mapper;

import com.qf.entity.Emp;

import java.util.HashMap;
import java.util.List;

public interface EmpMapper {
    Emp findEmpByEmpno(int empno);

    List<Emp> findAll();

    int addEmp(Emp emp);

    int deleteByEmpno(int empno);

    int updateEmp(Emp emp);

    List<Emp> searchEmp(HashMap<String,Object> map);

    void updateEmp2(Emp emp);

    void deleteEmp(List<Integer> nos);
}
